package com.medusa.aps.business.modules.basic.mp.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.medusa.aps.business.model.pagination.Page;
import com.medusa.aps.business.model.planingscheduing.MaterialSupplier;
import com.medusa.aps.business.modules.basic.model.input.SupplierParam;
import com.medusa.aps.business.modules.basic.mp.entity.Supplier;
import org.apache.ibatis.annotations.Param;

/**
 * 供应商数据库访问层
 *
 * @author yuxh
 * @since 2023-08-14 17:37:50
 */
public interface SupplierMapper extends BaseMapper<Supplier> {

    Page<Supplier> pageSupplier(@Param("supplierParam") SupplierParam supplierParam);

    MaterialSupplier getMaterialSupplier(@Param("materialCode") String materialCode);

}

